import sys

def upper_to_lower(s):
    s = s.lower()
    if s== "z":
        s = "a"
    else:
        s = chr(ord(s) + 1)
    return s


def lower_to_digital(s):
    _map = {
        "abc":2,
        "def":3,
        "ghi":4,
        "jkl":5,
        "mno":6,
        "pqrs":7,
        "tuv":8,
        "wxyz":9,
    }
    for k in _map:
        if s in k:
            return _map[k]

for line in sys.stdin:
    for l in line:
        # 大写转小写，并向后退一步
        if l.isupper():
            r = upper_to_lower(l)
        elif l.islower():
            r = lower_to_digital(l)
        else:
            r = l
        print(r, end="")
    print()